From: Adel Gadllah Date: Tue, 18 Feb 2014 22:28:51 +0000 (+0100) Subject: shell_global: Use correct agruments for in update_scale_factor X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~2743 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=470ac0eae3ab52c19450a55f6336d97e2066baee;p=gnome-shell.git shell_global: Use correct agruments for in update_scale_factor Otherwise we crash ... https://bugzilla.gnome.org/show_bug.cgi?id=705410 --- diff --git a/src/shell-global.c b/src/shell-global.c index b2b6e527f..7e0ac8b56 100644 --- a/src/shell-global.c +++ b/src/shell-global.c @@ -748,7 +748,7 @@ global_stage_after_paint (gpointer data) static void -update_scale_factor (gpointer data) +update_scale_factor (GdkScreen *screen, gpointer data) { ShellGlobal *global = SHELL_GLOBAL (data); ClutterStage *stage = CLUTTER_STAGE (global->stage); @@ -950,7 +950,7 @@ _shell_global_set_plugin (ShellGlobal *global, global->focus_manager = st_focus_manager_get_for_stage (global->stage); - update_scale_factor (global); + update_scale_factor (global->gdk_screen, global); } GjsContext *